import { createApp } from 'vue'
import pinia from './stores'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import './styles/index.scss'
import ElSvg from './components/SvgIcon/ElSvg'
import './permission'
import BaiduMap from 'vue-baidu-map-3x'
import './Mock/mock.js'
import './styles/common.scss'
const app = createApp(App)

ElSvg(app)

app
  .use(BaiduMap, {
    ak: 'v6kMd2rZCz8E3NIs2pxrLktykhs5xtqc'
  })
  .use(pinia)
  .use(router)
  .use(ElementPlus, {
    locale: zhCn
  })
  .mount('#app')
